﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UC_TotalNews.ascx.cs" Inherits="Stationery.UC.UC_TotalNews" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<table cellspacing="0" cellpadding="0" width="100%" border="0">	
		<tr>
			<td><asp:datalist id="DataList" CellSpacing="0" CellPadding="0" 
                    RepeatDirection="Vertical" RepeatColumns="1"
					Runat="server" Width="100%" onitemdatabound="DataList_ItemDataBound">
					<ItemTemplate>
						<table cellpadding="3" cellspacing="3" width="100%" border="0">							
							<tr>
								<td colspan="2">									
									<asp:HyperLink ID="HyperLinkTitle1" Runat="server" CssClass="NewsTitle"></asp:HyperLink>									
								</td>
							</tr>
							<tr>
							    <td colspan="2" align="left">
							        <asp:Label ID="LabelNewsDate" runat="server" Text="" CssClass="LabelNewsDate"></asp:Label>
							    </td>
							</tr>
							<tr>
							    <td style="width:130px">
							        <a href='<%# GetLinkDetail(Eval("Group_id").ToString(),Eval("News_id").ToString()) %>' >
                                        <dxe:ASPxBinaryImage ID="ASPxBinaryImageData" runat="server" Height="100px" Width="130px" >
                                        </dxe:ASPxBinaryImage>
                                    </a>
							    </td>
								<td valign="top">
									<div id="DivDesc" runat="server" class="NewsDesc"></div>
								</td>
							</tr>
							<tr height="5">
								<td></td>
							</tr>
							<tr>
							    <td colspan="2" align="right">
							        <asp:HyperLink ID="HyperLinkView" Runat="server" CssClass="LinkDetail"></asp:HyperLink>                                    
							    </td>
							</tr>							
							<tr>
								<td colspan="2">
									<table width="100%" cellpadding="0" cellspacing="0" class="NewsSaparate">
										<tr>
											<td width="100%"></td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</ItemTemplate>
				</asp:datalist></td>
		</tr>	
</table>
